<?php 
$this->renderToPlaceholder('functions.phtml', 'sidebar');

$this->placeholder('sidebar')->append(
'<h2 class="title">'.$this->translate('filters').'</h2>	
<div class="paginatorFilters">
<form >
	<label>'.$this->translate('rowsPerPage').':</label>
	'.$this->filterNumRows().'
	<br />
	<br />
	
	<a rel="nofollow, noindex" class="button redButton" id="Aplicar" name="Aplicar" href="#"><span>'.$this->translate('apply').'</span></a>
	
</form>
</div>'
);

?>
<h2 class="title"><?php echo $this->translate('categories')?></h2>

<?php 
echo $this->render('categories/categories.phtml');

$this->jQuery()->onLoadCaptureStart();

?>

$paginatorOrders = { 
	1: "categoryId",
	2: "name"
};

bindPaginate( "<?php echo $this->url(array('controller'=>'categories'))?>" );
				
<?php 

$this->jQuery()->onLoadCaptureEnd();

